//接口地址
const base = {
    totalInfo: '/api/home/dataCount',
    orderInfo: '/api/home/orderInfo',
    format: '/api/home/format',

    //产品列表
    search: "/api/goods/search", //搜索接口
    projectList: "/api/goods/projectList",//订单列表 page
    deleteItemById: "/api/goods/deleteItemById",//根据id进行删除
    selectItemCategoryByParentId: "/api/goods/itemCategory/selectItemCategoryByParentId",//树形图，商品的类目/goods/item/insertTbItem
    insertTbItem: "/api/goods/item/insertTbItem",
    //批量删除
    batchDelete: "/api/goods/batchDelete",
    updateTbItem: "/api/goods/item/updateTbItem",
    itemCategory: "/api/goods/itemCategory",

    insertItemCategory: "/api/goods/itemCategory/insertItemCategory", //新增子类目录名称 cid name
    deleteContentCategoryById: "/api/goods/content/deleteContentCategoryById", //删除类名 id
    updateCategory: "/api/goods/itemCategory/updateCategory", //修改类目 id name
    insertCategory: "/api/goods/itemCategory/insertCategory", //新增一级分类名称 name

    //订单管理
    orderList: "/api/order/list",//订单列表 page
    changeStatus: "/api/order/changeStatus",//订单汇总 
    collect: "/api/order/collect",//汇总清单列表 page
    cancel: '/api/order/cancel',//撤销汇总 id
    // detail: "/api/order/list/detail",//订单详情  id

}
//导出图片上传的地址
export const uploadUrl = "/api/common/uploadMore";

export const host = "http://localhost:100032/files";


export default base